<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>js | lcc-framework(Server)</title>
	<meta name="description" content="Documentation for lcc-framework(Server)">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
	<script async src="../assets/js/search.js" id="search-script"></script>
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">lcc-framework(Server)</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-externals" checked />
							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../modules.html">lcc-framework(Server)</a>
				</li>
				<li>
					<a href="network_protobuf_manager.html">network/protobuf-manager</a>
				</li>
				<li>
					<a href="network_protobuf_manager.lcc.html">lcc</a>
				</li>
				<li>
					<a href="network_protobuf_manager.lcc.js.html">js</a>
				</li>
			</ul>
			<h1>Namespace js</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Namespaces</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="network_protobuf_manager.lcc.js.array.html" class="tsd-kind-icon">array</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Classes</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-class tsd-parent-kind-namespace"><a href="../classes/network_protobuf_manager.lcc.js.bufferreader.html" class="tsd-kind-icon">Buffer<wbr>Reader</a></li>
								<li class="tsd-kind-class tsd-parent-kind-namespace"><a href="../classes/network_protobuf_manager.lcc.js.bufferwriter.html" class="tsd-kind-icon">Buffer<wbr>Writer</a></li>
								<li class="tsd-kind-class tsd-parent-kind-namespace"><a href="../classes/network_protobuf_manager.lcc.js.streamreader.html" class="tsd-kind-icon">Stream<wbr>Reader</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Functions</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="network_protobuf_manager.lcc.js.html#clonemap" class="tsd-kind-icon">clone<wbr>Map</a></li>
								<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="network_protobuf_manager.lcc.js.html#createmap" class="tsd-kind-icon">create<wbr>Map</a></li>
								<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="network_protobuf_manager.lcc.js.html#extractmap" class="tsd-kind-icon">extract<wbr>Map</a></li>
								<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="network_protobuf_manager.lcc.js.html#formatdate" class="tsd-kind-icon">format<wbr>Date</a></li>
								<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="network_protobuf_manager.lcc.js.html#formatstring" class="tsd-kind-icon">format<wbr>String</a></li>
								<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="network_protobuf_manager.lcc.js.html#getmapvalue" class="tsd-kind-icon">get<wbr>Map<wbr>Value</a></li>
								<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="network_protobuf_manager.lcc.js.html#isemptymap" class="tsd-kind-icon">is<wbr>Empty<wbr>Map</a></li>
								<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="network_protobuf_manager.lcc.js.html#mergemap" class="tsd-kind-icon">merge<wbr>Map</a></li>
								<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="network_protobuf_manager.lcc.js.html#setmapvalue" class="tsd-kind-icon">set<wbr>Map<wbr>Value</a></li>
								<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="network_protobuf_manager.lcc.js.html#updatemap" class="tsd-kind-icon">update<wbr>Map</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Functions</h2>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace">
					<a name="clonemap" class="tsd-anchor"></a>
					<h3>clone<wbr>Map</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
						<li class="tsd-signature tsd-kind-icon">clone<wbr>Map<span class="tsd-signature-symbol">(</span>map<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Object</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in utils/js.ts:34</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>zh</dt>
									<dd><p>克隆Map表</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>map: <span class="tsd-signature-type">Object</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>Map表对象</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace">
					<a name="createmap" class="tsd-anchor"></a>
					<h3>create<wbr>Map</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
						<li class="tsd-signature tsd-kind-icon">create<wbr>Map<span class="tsd-signature-symbol">(</span>forceDictMode<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in utils/js.ts:116</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>CODE FROM COCOS</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt>en</dt>
									<dd><p>A simple wrapper of <code>Object.create(null)</code> which ensures the return object have no prototype (and thus no inherited members).
											This eliminates the need to make <code>hasOwnProperty</code> judgments when we look for values by key on the object,
										which is helpful for performance in this case.</p>
									</dd>
									<dt>zh</dt>
									<dd><p>该方法是对 <code>Object.create(null)</code> 的简单封装。
											<code>Object.create(null)</code> 用于创建无 prototype （也就无继承）的空对象。
										这样我们在该对象上查找属性时，就不用进行 <code>hasOwnProperty</code> 判断，此时对性能提升有帮助。</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> forceDictMode: <span class="tsd-signature-type">boolean</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace">
					<a name="extractmap" class="tsd-anchor"></a>
					<h3>extract<wbr>Map</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
						<li class="tsd-signature tsd-kind-icon">extract<wbr>Map<span class="tsd-signature-symbol">(</span>dmap<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Object</span>, smap<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Object</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in utils/js.ts:227</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>zh</dt>
									<dd><p>提取Map表<br/>
											Map表提取规则：<br/>
											遍历目的Map表字段，对比源Map表对应字段，存在几种情况：<br/>
											1、源Map表中不存在该字段，跳过<br/>
											1、源Map表字段和目的Map表字段类型不同，跳过<br/>
											2、源Map表字段和目的Map表字段类型相同，不为(Object)，目的Map表字段设置为源Map表字段<br/>
										3、源Map表字段和目的Map表字段类型相同，同为(Object)，以字段的目的Map表和源Map表为参数再次调用次函数<br/></p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>dmap: <span class="tsd-signature-type">Object</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>目的Map表</p>
									</div>
								</li>
								<li>
									<h5>smap: <span class="tsd-signature-type">Object</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>源Map表</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace">
					<a name="formatdate" class="tsd-anchor"></a>
					<h3>format<wbr>Date</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
						<li class="tsd-signature tsd-kind-icon">format<wbr>Date<span class="tsd-signature-symbol">(</span>fmt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, date<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Date</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in utils/js.ts:281</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>zh</dt>
									<dd><p>日期格式化</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>fmt: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>日志格式字符串</p>
									</div>
								</li>
								<li>
									<h5>date: <span class="tsd-signature-type">Date</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>日期对象</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace">
					<a name="formatstring" class="tsd-anchor"></a>
					<h3>format<wbr>String</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
						<li class="tsd-signature tsd-kind-icon">format<wbr>String<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, map<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in utils/js.ts:260</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>zh</dt>
									<dd><p>格式化字符串, Map参数</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>格式化的字符串</p>
									</div>
								</li>
								<li>
									<h5>map: <span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol"> = ...</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>参数Map表</p>
									</div>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-index-signature">
											<h5><span class="tsd-signature-symbol">[</span>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">any</span></h5>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace">
					<a name="getmapvalue" class="tsd-anchor"></a>
					<h3>get<wbr>Map<wbr>Value</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Map<wbr>Value<span class="tsd-signature-symbol">(</span>map<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Object</span>, path<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, split<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in utils/js.ts:59</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>zh</dt>
									<dd><p>通过路径获得Map的值</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>map: <span class="tsd-signature-type">Object</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>Map对象</p>
									</div>
								</li>
								<li>
									<h5>path: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>路径</p>
									</div>
								</li>
								<li>
									<h5>split: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;/&quot;</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>分隔符</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace">
					<a name="isemptymap" class="tsd-anchor"></a>
					<h3>is<wbr>Empty<wbr>Map</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
						<li class="tsd-signature tsd-kind-icon">is<wbr>Empty<wbr>Map<span class="tsd-signature-symbol">(</span>map<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Object</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in utils/js.ts:44</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>zh</dt>
									<dd><p>判断是否为空Map表</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>map: <span class="tsd-signature-type">Object</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>Map表对象</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace">
					<a name="mergemap" class="tsd-anchor"></a>
					<h3>merge<wbr>Map</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
						<li class="tsd-signature tsd-kind-icon">merge<wbr>Map<span class="tsd-signature-symbol">(</span>dmap<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Object</span>, smap<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Object</span>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>source<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>tag<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in utils/js.ts:144</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>zh</dt>
									<dd><p>合并Map表<br/>
											Map表合并规则：<br/>
											遍历源Map表字段，对比目的Map表对应字段，存在几种情况：<br/>
											1、目的Map表中不存在该字段，直接设置为源Map表字段<br/>
											2、目的Map表字段和源Map表字段同为数组(Array)，把字段的源Map表数组复制到目的Map表数组中<br/>
											3、目的Map表字段和源Map表字段同为对象(Object)，以字段的目的Map表和源Map表为参数再次调用次函数<br/>
										4、其他情况，说明存在冲突。警告后，源Map表字段直接覆盖目的Map表字段</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>dmap: <span class="tsd-signature-type">Object</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>目的Map表</p>
									</div>
								</li>
								<li>
									<h5>smap: <span class="tsd-signature-type">Object</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>源Map表</p>
									</div>
								</li>
								<li>
									<h5>options: <span class="tsd-signature-symbol">{ </span>source<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>tag<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> = ...</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>选项，主要可以指定异常输出标签和源文件</p>
									</div>
									<ul class="tsd-parameters">
										<li class="tsd-parameter">
											<h5><span class="tsd-flag ts-flagOptional">Optional</span> source<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span></h5>
										</li>
										<li class="tsd-parameter">
											<h5><span class="tsd-flag ts-flagOptional">Optional</span> tag<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span></h5>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace">
					<a name="setmapvalue" class="tsd-anchor"></a>
					<h3>set<wbr>Map<wbr>Value</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Map<wbr>Value<span class="tsd-signature-symbol">(</span>map<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Object</span>, path<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, split<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in utils/js.ts:82</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>zh</dt>
									<dd><p>通过路径设置Map的值</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>map: <span class="tsd-signature-type">Object</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>Map对象</p>
									</div>
								</li>
								<li>
									<h5>path: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>路径</p>
									</div>
								</li>
								<li>
									<h5>value: <span class="tsd-signature-type">any</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>值</p>
									</div>
								</li>
								<li>
									<h5>split: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;/&quot;</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>分隔符</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace">
					<a name="updatemap" class="tsd-anchor"></a>
					<h3>update<wbr>Map</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
						<li class="tsd-signature tsd-kind-icon">update<wbr>Map<span class="tsd-signature-symbol">(</span>dmap<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Object</span>, smap<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Object</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in utils/js.ts:186</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>zh</dt>
									<dd><p>更新Map表<br/>
											Map表更新规则：<br/>
											遍历源Map表字段，对比目的Map表对应字段，存在几种情况：<br/>
											1、目的Map表中不存在该字段，直接设置为源Map表字段<br/>
											2、目的Map表字段和源Map表字段同为数组(Array)，直接设置为源Map表字段<br/>
										3、目的Map表字段和源Map表字段同为对象(Object)，以字段的目的Map表和源Map表为参数再次调用次函数<br/></p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>dmap: <span class="tsd-signature-type">Object</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>目的Map表</p>
									</div>
								</li>
								<li>
									<h5>smap: <span class="tsd-signature-type">Object</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>源Map表</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class=" ">
						<a href="../modules.html">Exports</a>
					</li>
					<li class="current tsd-kind-module">
						<a href="network_protobuf_manager.html">network/protobuf-<wbr>manager</a>
						<ul>
							<li class="current tsd-kind-namespace tsd-parent-kind-module">
								<a href="network_protobuf_manager.lcc.html">lcc</a>
								<ul>
									<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="network_protobuf_manager.lcc.debug.html">DEBUG</a>
									</li>
									<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="network_protobuf_manager.lcc.events.html">Events</a>
									</li>
									<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="network_protobuf_manager.lcc.cocos.html">cocos</a>
									</li>
									<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="network_protobuf_manager.lcc.express.html">express</a>
									</li>
									<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="network_protobuf_manager.lcc.fs.html">fs</a>
									</li>
									<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="network_protobuf_manager.lcc.http.html">http</a>
									</li>
									<li class="current tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="network_protobuf_manager.lcc.js.html">js</a>
										<ul>
											<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
												<a href="network_protobuf_manager.lcc.js.array.html">array</a>
											</li>
										</ul>
									</li>
									<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="network_protobuf_manager.lcc.math.html">math</a>
									</li>
									<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="network_protobuf_manager.lcc.netdata.html">netdata</a>
									</li>
									<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="network_protobuf_manager.lcc.os.html">os</a>
									</li>
								</ul>
							</li>
						</ul>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
					<li class=" tsd-kind-class tsd-parent-kind-namespace">
						<a href="../classes/network_protobuf_manager.lcc.js.bufferreader.html" class="tsd-kind-icon">Buffer<wbr>Reader</a>
					</li>
					<li class=" tsd-kind-class tsd-parent-kind-namespace">
						<a href="../classes/network_protobuf_manager.lcc.js.bufferwriter.html" class="tsd-kind-icon">Buffer<wbr>Writer</a>
					</li>
					<li class=" tsd-kind-class tsd-parent-kind-namespace">
						<a href="../classes/network_protobuf_manager.lcc.js.streamreader.html" class="tsd-kind-icon">Stream<wbr>Reader</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-namespace">
						<a href="network_protobuf_manager.lcc.js.html#clonemap" class="tsd-kind-icon">clone<wbr>Map</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-namespace">
						<a href="network_protobuf_manager.lcc.js.html#createmap" class="tsd-kind-icon">create<wbr>Map</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-namespace">
						<a href="network_protobuf_manager.lcc.js.html#extractmap" class="tsd-kind-icon">extract<wbr>Map</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-namespace">
						<a href="network_protobuf_manager.lcc.js.html#formatdate" class="tsd-kind-icon">format<wbr>Date</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-namespace">
						<a href="network_protobuf_manager.lcc.js.html#formatstring" class="tsd-kind-icon">format<wbr>String</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-namespace">
						<a href="network_protobuf_manager.lcc.js.html#getmapvalue" class="tsd-kind-icon">get<wbr>Map<wbr>Value</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-namespace">
						<a href="network_protobuf_manager.lcc.js.html#isemptymap" class="tsd-kind-icon">is<wbr>Empty<wbr>Map</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-namespace">
						<a href="network_protobuf_manager.lcc.js.html#mergemap" class="tsd-kind-icon">merge<wbr>Map</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-namespace">
						<a href="network_protobuf_manager.lcc.js.html#setmapvalue" class="tsd-kind-icon">set<wbr>Map<wbr>Value</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-namespace">
						<a href="network_protobuf_manager.lcc.js.html#updatemap" class="tsd-kind-icon">update<wbr>Map</a>
					</li>
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer class="with-border-bottom">
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-namespace"><span class="tsd-kind-icon">Namespace</span></li>
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="container tsd-generator">
	<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>